<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        /* 选择多组标签，用英文逗号隔开  */
        div,
        .sheep,
        .wolf li {
            color: darkviolet;
        }
    </style>

</head>

<body>
    <div>喜羊羊</div>
    <p class="sheep">美羊羊</p>
    <ol class=" wolf ">
        <li>灰太狼</li>
        <li>红太狼</li>
    </ol>

</body>

</html>